import request from '@/utils/request'

export function listStep(query) {
  return request({
    url: '/priceStep/list',
    method: 'get',
    params: query
  })
}

export function createStep(data) {
  return request({
    url: '/priceStep/create',
    method: 'post',
    data
  })
}

export function readStep(data) {
  return request({
    url: '/priceStep/read',
    method: 'get',
    data
  })
}

export function updateStep(data) {
  return request({
    url: '/priceStep/update',
    method: 'post',
    data
  })
}

export function deleteStep(data) {
  return request({
    url: '/priceStep/delete',
    method: 'post',
    data
  })
}
